# 从guzian_app导入main模块并启动应用
from guzian_app.main import app

if __name__ == "__main__":
    import uvicorn
    from guzian_app.config import get_config
    
    config = get_config()
    uvicorn.run(
        "guzian_app.main:app", 
        host=config["server"]["host"], 
        port=config["server"]["port"],
        reload=True
    )